package com.net.xpay.core.manager.collect;

import com.net.common.manager.VersionedManager;
import com.net.xpay.core.domain.collect.CollectionSafePayOrder;
import com.net.xpay.core.model.CollectionSafePayOrderSearchModel;

import java.util.List;


public interface CollectionSafePayOrderManager extends VersionedManager<Long,CollectionSafePayOrder> {
    List<CollectionSafePayOrder> search(CollectionSafePayOrderSearchModel searchModel);

    long searchCount(CollectionSafePayOrderSearchModel searchModel);

    List<CollectionSafePayOrder> findByIds(List<Long> ids);

    int updateStatusByIds(String status, List<Long> ids);

    int batchUpdate(List<CollectionSafePayOrder> orders);

    CollectionSafePayOrder findById(Long userId, Long id);
}
